package com.showcai.service;


import com.showcai.module.Order;
import com.showcai.module.PayParameter;

import java.util.Map;

/**
 * Created by baggio on 2016/12/26.
 */
public interface PayService{
    PayParameter pay(Long orderId, Integer price,String dataString,String ticket) throws Exception;
  String getPayParameterStr(Long orderId, Integer price, String remoteAddr, Map<String, String> payParametersMap);
    Map<String, String> notification(Map<String, String> map);
    PayParameter  refund(Order order, Integer price);
}
